package com.fq.fq_system.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "fq.jwt")
@Data
public class JwtProperties {

    /**
     * 组长生成jwt令牌相关配置
     */
    private String leaderSecretKey;
    private long leaderTtl;
    private String leaderTokenName;

    /**
     * 组员生成jwt令牌相关配置
     */
    private String memberSecretKey;
    private long memberTtl;
    private String memberTokenName;

}
